import {api} from './common/http.js'   //引入封装好的axios

const BrowseRecord = {
  //获取散记列表
  page(data) {
    //console.log(data);
    return api.get("browseRecord/page", data)
  },
  //获取散记详情
  detail(data) {
    return api.get("browseRecord/detail", data)
  },
  //添加散记详情
  add(data) {
    return api.post("browseRecord/add", data);
  },
  //修改散记详情
  edit(data) {
    return api.post("browseRecord/edit", data);
  }
}
export default BrowseRecord;

